﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Diploma.Models;

namespace DiplomaWeb.Controllers
{
    public class ErrorController : MasterController
    {
        public ErrorController(DataManager dataManager)
            : base(dataManager)
        {
        }

        public ActionResult General(Guid id)
        {
            return View(DataManager.LoggerRepository.GetError(id));
        }

        public ActionResult Http404(string url)
        {
            return View(url);
        }
    }
}
